<?php
/**
 * Created by PhpStorm.
 * User: Sergey
 * Date: 26.03.2014
 * Time: 11:38
 */

error_reporting(E_ALL);
ini_set('display_errors', 1);

define("BASE_DQ_PLUGIN_PATH", dirname(__FILE__) . "/");
const RELATIVE_PATH_TO_DQ = "../wp-content/plugins/distant-quiz/";

require(realpath(dirname(__FILE__) . "../../../../") . '/wp-blog-header.php');
require_once BASE_DQ_PLUGIN_PATH . "classes/QuizDao.php";
require_once BASE_DQ_PLUGIN_PATH . "classes/QuestionDao.php";
require_once BASE_DQ_PLUGIN_PATH . "classes/QuizResultChecker.php";